package self.hoy.demo.cloud.seata.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (TAccount)实体类
 *
 * @author makejava
 * @since 2020-06-20 16:49:30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TAccount implements Serializable {
    private static final long serialVersionUID = 995894849784700046L;
    
    private Long id;
    /**
    * 用户id
    */
    private Long userId;
    /**
    * 总额度
    */
    private Double total;
    /**
    * 已用额度
    */
    private Double used;
    /**
    * 剩余可用额度
    */
    private Double reside;

}